package com.sky.result;

/**
 * @author ：douyuqi
 * @date ：Created in 2022/9/9 10:53
 * @description：分页查询返回结构
 */
public class LimitQueryResult<T> {
    private long count;
    private T data;// 成功时返回的数据

    public LimitQueryResult(long count, T data){
        this.count = count;
        this.data = data;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
